package stage_1_module_3.code.homework_4;

public class Student {
    private String no;
    private String name;
    private int age;

    public int getAge() {
        return this.age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNo() {
        return this.no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public Student(String no, String name, int age) {
        this.no = no;
        this.name  = name;
        this.age = age;
    }

    public String toString() {
        return "{no="+ this.no+",name="+this.name+",age="+this.age+"}";
    }
}
